#ifndef __SYS_H
#define __SYS_H

#include "n32g45x.h"

enum
{
    SYSCLK_PLLSRC_HSI,
    SYSCLK_PLLSRC_HSE,
};

void SetSysClockToHSE(void);
void SetSysClockToHSI(void);
void SetSysClockToPLL(uint32_t freq, uint8_t src);
void SYSCLKConfig_STOP(uint32_t RCC_PLLMULL);

#endif 


